<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        html {
            height: 100%;
        }

        body {
            background: url(img/bg.jpeg);
            height: 100%;
        }

        .box {
            width: 400px;
            height: 450px;
            background-color: white;
            border-radius: 10px;
            margin: 100px auto;
        }
        .wenzi{
            height: 80px;
            background-color: #87cefa;
            border-radius: 10px 10px 0 0;
            text-align: center;
            line-height: 80px;
            font-size: 20px;
            color: white;
        }
        .box input{
            width: 240px;
            height: 30px;
            border: 1px solid #eee;
            border-radius: 5px;
            padding-left: 10px;
        }
        .box .xinx div{
            margin-top: 20px;
            margin-left: 70px;
        }
        .box .xinx .d1{
           font-size: 16px;
           color: #ccccd6;
        }
        .box .xinx button{
           width: 80px;
           height: 40px;
           background-color: #90ee90;
           border: none;
           font-size: 16px;
           color: white;
           border-radius: 5px;
           margin: 10px 160px;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="wenzi">注册</div>
       <div class="xinx">
        <div><input type="text" placeholder="输入用户名"></div>
        <div><input type="password" placeholder="输入密码"></div>
        <div><input type="password" placeholder="输入确认密码"></div>
        <div><input type="text" placeholder="输入邮箱"></div>
        <div class="d1">已有账号去登录</div>
        <button>注册</button>
       </div>
    </div>
</body>

</html>